﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Api.BLL
{
    /// <summary>
    /// 下载附件
    /// </summary>
    public partial class evidence_shenpi_attach
    {
        private readonly DAL.evidence_shenpi_attach dal = new DAL.evidence_shenpi_attach();
        public evidence_shenpi_attach()
        { }

        #region 基本方法
        /// <summary>
        /// 是否存在该记录
        /// </summary>
        public bool Exists(int id)
        {
            return dal.Exists(id);
        }

        /// <summary>
        /// 修改一列数据
        /// </summary>
        public void UpdateField(int id, string strValue)
        {
            dal.UpdateField(id, strValue);
        }

        /// <summary>
        /// 得到一个对象实体
        /// </summary>
        public Models.evidence_shenpi_attach GetModel(int id)
        {
            return dal.GetModel(id);
        }

        /// <summary>
        /// 得到数据列表
        /// </summary>
        public DataTable GetList_I(int id)
        {
            return dal.GetList_I(id);
        }
        #endregion  Method

    }
}
